ad43dd16956e17bb9e1c9c63803a5f22b6933212,clc/modules/msgs/src/main/java/com/eucalyptus/event/SystemClock.java,HzClock,run,#,193
Before Change
public void run( ) {
Thread.currentThread( ).setUncaughtExceptionHandler( ( UncaughtExceptionHandler ) this );
try {
ListenerRegistry.getInstance( ).fireEvent( new Hertz( ) );
} catch ( EventFailedException e ) {} catch ( Exception t ) {
LOG.error( t, t );
}
After Change
public void run( ) {
Thread.currentThread( ).setUncaughtExceptionHandler( ( UncaughtExceptionHandler ) this );
try {
ListenerRegistry.getInstance( ).fireEventAsync( Hertz.class, new Hertz( ) ).get( SystemClock.EVENT_TIMEOUT, TimeUnit.SECONDS );
} catch ( Exception t ) {
LOG.error( t, t );
}